package com.xy.interfaceadapter;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/11 15:14
 * @description
 */
public class Client {
    public static void main(String[] args) {
        AbsAdapter adapter = new AbsAdapter() {
            @Override
            public void method1() {
                System.out.println("实现method1");
            }
        };

        adapter.method1();
    }
}
